JavaScript setup.