Converts a java properties file to a Javascript Object