changed price method in event
removed unneeded price method
added javascript things