Gave function to browser and added classlib