moved js includes to last
added a make file that uses the package mocha for testing