js call on gallery, tabs bug testing