remove stupid js funs