added stripslashes to the js session