Load javascript when page change