Added javascript structure.