fix remaining . at end of namespace for cljs

When using clojure-mode for clojurescript there was a remaining . at
then end of the string returned by `clojure-expected-ns`. This patch
removes the hardcoded file-extension size in favour of calculating the
size based on the buffer-file-name.