Revert "trying js - will probably have to revert :p"

This reverts commit dd7d419c0465e3f44d35dbd4198c1508aeccf05f.