step 9 finished - divided method by adding prefix browse in the javascript