further small improvements, update velocity.js