with passing tests this time
js file purge; embedded comments in ResourceSchema