Javascript Bits...used mainly for BCIT comp 2051 class