Here is a javascript for setting the homepage or bookmark Click to set my page as home page