made js cleaner