Converted functions

Converted save/load to jquery