add spin file js