fixed post route
added javascript for stripe