Fit html canvas to the screen!
After spending about 8 hours (I have below average IQ) i finally figured out a simple method/function whatever you call it in javascript (it is my first proper day with javascript) to fit the canvas to the screen.
The canvas only fits the width but if you follow standard android screen ration it will fit most android devices but you have to implement some javascript logic to change the canvas size when user is iphone! The same function will work on both android and iphone though!