Make javascript work.