modularized javascript files; started picker code