These are some JS code samples