Update common.js

Simple useful function for converting degrees to radian.