Started framing the js structure