initial setup for javascript stuff