A full javascript stack example