added basic structure of js