Just getting a handle on the JS structure..needs work.