Added js to permission converters.
Added JSON conversion for requirements.