CYB-368 - Gallery: back button - Add JS Docs & resolve comments