Javascript Sample Code For Website