Use configurable styles path (instead of fixed img src attribute value)

This patch allows changes shape svg images path to be relative to the scripts' parent directory (not the index.html file). This way the index.html can be moved to a different location without moving these images.

James