Javascript based etrack