fix for issue #47. cleaned up js and sizing