added app id to javascript