More javascript updates