moving duck_derby into its own js file