Added a simple password example in java script