Proper config for JS