refactored JS formsAPI
Refactoring code - sample_app and tests are now separate apps/packages
JS tests
Updated readme