javascript configurations