Updated trivial javascript password protection