Change functionality of webpage