Added js structure + some js code