bug fix

add dependencies requirement
add base_path to resource browser iframe call and code clean up