fix staticHandler (renamed from jsHandler)