fixed issues with Album and Jquery
adding some fixes for Album with JQuery