JS done, ready for testing