292 only js

Fix legacy issues from #292