fixed javascript on samsung page