Add js syntax parser, refactor structure, add /clear, update init