Make javascript working.