switched from php load to javascript load