Python Determine If String Contains Javascript