08-12-2013 410pm  Updates for migrations
08-12-2013 Added javascript code