Add dev target to makefile
Update js, LRM and adapt to new interface