compass moving image example and js client lib boilerplate