removing unused script tags
confirm remove. crappy version
wrong devicetype for simplepush