added javascript url serialization
added serialization, yay now it works!