JS Unserialize Function. Unserialize PHP data to JS data.