Removed css properties to ensure correct rendering in firefox browser.
Fixed missplaced promise call.