add dependencies
add onResume command
update jquery version.