fixed some naming error in javascript functions that produces a weird behaviour in VOView