Wanting to roll my own mobile js framework