Converts java.util.ResourceBundle into JavaScript