removing some of the inline js