Creating basic structure for javascript