Add javascript stuff.