Renamed 'sync' to 'syncJS', 'async' to 'asyncJS' and 'compileRequest' to 'compileRequestJS'
Fixed examples.