Lint js and fix missing js dependencies