336. Whoever does any act so rashly or negligently as to endanger human life or the personal safety of others, shall be punished with imprisonment for a term which may extend to three months or with fine which may extend to five hundred ringgit or with both.