refs #5 | jscode cleanup