Add browserify support

Modified Makefile to add browserify support and to generate compiled libraries
to be used in the browser