make the runnable in local env
add exception handle for qunit testing