refactored js and modified seed file
Merge pull request #57 from fence-lizards-2014/shawn_refactoring

refactored js and modified seed file