Updating to try to strip testing code from js