closes #810, remove implementations of js functions that are not working, print an error message