added constant parsing to mech-vibrations.js