removed floating tender change function and added close curly brackets at end of html