basic.js semantic error