Changing javascript targeting to prepare for future features