Simple switch between dev and production javascript