Stubbing out js structure