JavaScript: Create rounded rectangle HTML5 Canvas