cleaned up data2
tyring to pass string to javascript with no luck