Update openfb.js

Added deviceready back