making the jshook works