adding a couple of examples
using both external and embedded javascript router