Convert java .properties files to javascript