removing tiny useless code from appjs