correct js undefined variable error
Merge branch 'development' of https://github.com/dchbx/gluedb into development