Removing old javascript functions

functions were replaced by modal calls so these residual javascript
functions have been removed