working on sinatra an trying to get foundation javascript to function