Basic struct to 'play' with JavaScript