monkeying with js + JSON