Added js file for semantic analysis