created js directory. added getSquare method. rounded corner squares to fit in border