Projects Directory : Convert Javascript from old Intranet to Sharepoint 2013 Webpart - Convert Javascript to eliminate browser security warning