Added the js structure for per page js