adding libsb.js
throwing an error if priority is not defined