abstracted plugin dirname, removed rollover javascript