Use composer-extra-assets for esprima to be installed on composer update.

Remove unneeded checks for existing node modules