Ie Permission Denied Javascript Error