some config for javascript