Added requirements to js files and passed first two asserts.