classify javascript