Created basic javascript structure.