Initial commit with working javascript prototype