A Javascript Application Skeleton