initial lab JS work, removed Series model
forgot to commit some JS fixes