jmr added by hand
'deps' Makefile target added
unused JS file removed
some cleaning