added js controller for phys
Merge branch 'patfeat' of github.com:msika/MP into patfeat