add option to deploy js in dev mode