changed import style to var RootNode = require('view/shapes/RootNode');
fixed wrong code style