initial js structure added