added an application cache manifest
refered application manifest
moved lib directory into js directory