setup javascript environment, added default themes